package com.service;

import com.domain.Function;
import com.github.pagehelper.PageInfo;

public interface FunctionService {

    PageInfo<Function> selectAll(int pageNumber, int pageSize);

    void delete(int id);

    void insert(Function function);

    void update(Function function);

    Function selectById(int id);

    PageInfo<Function> queryByOne(int pageNumber, int pageSize);

    PageInfo<Function> queryByZero(int pageNumber, int pageSize);
}
